﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;
using Data;

namespace BLL
{
    public class CardReaderBLL
    {
        CardReaderData cRD = new CardReaderData();

        public bool AcceptCard(CardsEntity cE)
        {
            return cRD.AcceptCard(cE);
        }

        public bool ValidatePIN(CardsEntity cE)
        {
            return cRD.ValidatePIN(cE);
        }

        public void SwallowCard(CardsEntity cE)
        {
            cRD.SwallowCard(cE);
        }

        public void CheckAttempt(CardsEntity cE)
        {
            cRD.CheckAttempt(cE);
        }
    }
}
